﻿using Loyalty.Application;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Loyalty.Infrastructure.EntityFramework.Poco
{
    public abstract class RepositoryBase<T> where T : class
    {
        public readonly IDbSet<T> _Repository;
        public RepositoryBase(IUnitOfWork uow)
        {
            _Repository = uow.DbSet<T>();
        }
    }
}
